package com.trainfinder.ripper;
import com.trainfinder.datapersistace.TicketType;

public class TicketImpl implements Ticket {

	private TicketClass ticketClass;
	private TicketType ticketType;

	public TicketImpl(TicketType ticketType, TicketClass ticketClass) {
		this.ticketClass = ticketClass;
		this.ticketType = ticketType;
	}

	public TicketType getTicketType() {

		return ticketType;
	}

	public TicketClass getTicketClass() {
		return ticketClass;
	}

}
